package com.fzkj.thread.demo5;

public class ThreadTest {
    public static void main(String[] args) {

        SaleTicketThread st = new SaleTicketThread();

        Thread t1 = new Thread(st, "窗口1");
        Thread t2 = new Thread(st, "窗口2");
        Thread t3 = new Thread(st, "窗口3");
        Thread t4 = new Thread(st, "窗口4");

        t1.start();
        t2.start();
        t3.start();
        t4.start();
    }
}
